package com.jiashihui.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import springfox.documentation.annotations.ApiIgnore;

/**
 * @author jiashihui
 * @describe: 查看接口文档
 * @date 2019/01/30
 */
@ApiIgnore()
@Controller
public class SwaggerController {
    @GetMapping(value = "/swagger")
    public String index() {
        return "redirect:swagger-ui.html";
    }
}
